From: Stefan Monnier Date: Wed, 28 May 2008 14:16:09 +0000 (+0000) Subject: (doc-view-mode-map): Bind `q' to quit-window, as is the custom. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~21374 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5b813fe87e42769ab12040b47dbf247034dbccf5;p=emacs.git (doc-view-mode-map): Bind `q' to quit-window, as is the custom. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fc88bbc3c60..6a395dcb2ab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2008-05-28 Stefan Monnier + * doc-view.el (doc-view-mode-map): Bind `q' to quit-window, as is + the custom. + * files.el (basic-save-buffer-2): Pass nil rather than (point-min) to write-region. diff --git a/lisp/doc-view.el b/lisp/doc-view.el index d464216df8a..ced22c1f81d 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -295,7 +295,7 @@ Can be `dvi', `pdf', or `ps'.") (define-key map "+" 'doc-view-enlarge) (define-key map "-" 'doc-view-shrink) ;; Killing/burying the buffer (and the process) - (define-key map (kbd "q") 'bury-buffer) + (define-key map (kbd "q") 'quit-window) (define-key map (kbd "k") 'doc-view-kill-proc-and-buffer) (define-key map (kbd "K") 'doc-view-kill-proc) ;; Slicing the image